// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using Elastic.Clients.Elasticsearch.Fluent;
using Elastic.Clients.Elasticsearch.Serialization;
using Elastic.Transport.Products.Elasticsearch;
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace Elastic.Clients.Elasticsearch.LicenseManagement;

public sealed partial class PostStartBasicResponse : ElasticsearchResponse
{
	[JsonInclude, JsonPropertyName("acknowledge")]
	public IReadOnlyDictionary<string, Union<string, IReadOnlyCollection<string>>>? Acknowledge { get; init; }
	[JsonInclude, JsonPropertyName("acknowledged")]
	public bool Acknowledged { get; init; }
	[JsonInclude, JsonPropertyName("basic_was_started")]
	public bool BasicWasStarted { get; init; }
	[JsonInclude, JsonPropertyName("error_message")]
	public string? ErrorMessage { get; init; }
	[JsonInclude, JsonPropertyName("type")]
	public Elastic.Clients.Elasticsearch.LicenseManagement.LicenseType? Type { get; init; }
}